package Phone;

public class DemoPhoneTwo {
    public static void main(String[] args) {
        Phone one = new Phone();
        System.out.println(one.brand);
        System.out.println(one.price);
        System.out.println(one.color);
        System.out.println("=============");

        one.brand = "白色";
//        one.price = "5555";
        one.color = "爱疯";
        System.out.println(one.brand);
        System.out.println(one.price);
        System.out.println(one.color);
        System.out.println("=============");

        one.call("雷布斯");
        one.sendMessage();

        System.out.println("=============");
        Phone two = new Phone();
        System.out.println(two.brand);
        System.out.println(two.price);
        System.out.println(two.color);
        System.out.println("=============");

        two.brand = "小米";
//        two.price = "4999";
        two.color = "黑色";
        System.out.println(two.brand);
        System.out.println(two.price);
        System.out.println(two.color);
        System.out.println("=============");

        two.call("小爱");
        two.sendMessage();
    }
}
